package io;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;

public class IsrDemo {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("456.txt");
        InputStreamReader ros = new InputStreamReader(fis);
        int d;
        while ((d=ros.read())!=-1){
            System.out.println((char) d);
        }
        ros.close();

    }
}
